package com.xiaoyao.myframeapp.MvpTest.contract;


import com.xiaoyao.myframeapp.MvpTest.bean.Test;
import com.xiaoyao.myframeapp.mvp.IView;
import com.xiaoyao.myframeapp.mvp.base.BaseActivity;

/**
 * @author xiaoyao
 * @mail xiao80206040@qq.com
 * @explain 契约类,定义WoWo界面用到的一些接口方法
 * @Created by Administrator on 2017/2/27 0027.
 */
public class TestContract {
    /**继承IView有显示隐藏加载状态功能*/
    public interface  View extends IView {
        void Success(Test isData);

        void Fail(String Msg);
    }

    public interface  Presenter {
        void login(
                BaseActivity activity,
                String userId,
                String password
        );
    }

}
